package com.huangfuyi.process.entity.basic;

public class EPPageInfo {

    // 分页参数信息
    // 起始条数
    private Integer start;

    // 当前页码
    private Integer pageNum;

    // 每页条数
    private Integer pageSize;

    public Integer getStart() {
        if ((this.pageNum != null && this.pageSize != null)) {
            this.start = (this.pageNum - 1) * this.pageSize;
        }
        return this.start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
